package com.lzk.springboot.demo.controller;

import com.lzk.springboot.demo.db.dao.oracle.UsrIdntyInfoMapper;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.RequestMapping;

@RequestMapping("demo")
@Service
@Api(value = "asdf0",tags = "asdfasdfasdf")
public class DemoController {

    @Autowired
    private UsrIdntyInfoMapper usrIdntyInfoMapper;

    @ApiOperation("asdfasdfasdfasfd")
    @RequestMapping("demoTest")
    public void demoTest(){
        System.out.println(usrIdntyInfoMapper.selectByPrimaryKey("liuqiang002"));
    }
}
